<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>照片签名</title>
    <style type="text/css">
  #div1{
      height: 960px;
      width: 640px;
      background-image:url("image/a3.jpg");
      margin:100px auto;
      position: relative;
  }

#div2{
    position: absolute;
    right: 30px;
    bottom: 30px;
}
        #p{
            font-size: 30px;
            color: #cc0000;
        }
    </style>
</head>
<body>
<div id="div1">
    <div id="div2">
        <p id="p">我是一只快乐的狗</p>
    </div>
</div>

</body>
</html>